package cn.edu.bzu.ie.sf.mealsmisweb.entity;

import java.io.Serializable;

/**
 * @version v1.0.0
 * @Package : cn.edu.bzu.ie.sf.mealsmisweb.entity
 * @Description : 周食谱
 * @Create on : 2021/8/15 17:01
 * @author: Feng Song 宋锋
 **/
public class WeekRecipy implements Serializable {
    private Integer id;       // 微机编码，主键
    private Integer uid;      // 上传图片用户 id
    private String uname;     // 用户名称
    private Integer depid;    // 所属部门 id
    private String pic;       // 图片路径， 存储在upload/weekrecipy目录中
    private String year;      // 年份
    private Integer week;     // 当前周数，在一年中是第几周
    private String weekstr;   // 所在周(周一到周日的时间段：20210719-20210725)，用于检查当前这一周是否上传了图片信息
    private String create_dt; // 创建时间

    public WeekRecipy() {
    }

    public WeekRecipy(Integer id, Integer uid, String uname, Integer depid, String pic, String year, Integer week,
                      String weekstr, String create_dt) {
        this.id = id;
        this.uid = uid;
        this.uname = uname;
        this.depid = depid;
        this.pic = pic;
        this.year = year;
        this.week = week;
        this.weekstr = weekstr;
        this.create_dt = create_dt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public Integer getDepid() {
        return depid;
    }

    public void setDepid(Integer depid) {
        this.depid = depid;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public Integer getWeek() {
        return week;
    }

    public void setWeek(Integer week) {
        this.week = week;
    }

    public String getWeekstr() {
        return weekstr;
    }

    public void setWeekstr(String weekstr) {
        this.weekstr = weekstr;
    }

    public String getCreate_dt() {
        return create_dt;
    }

    public void setCreate_dt(String create_dt) {
        this.create_dt = create_dt;
    }
}
